home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / hard / hack / i2clib40.lha / i2clib40 / Developer / GNU_Install < prev    next >
Text File  |  1998-07-29  |  494b  |  25 lines

  1. ; Install i2c.lib include files for the GNU C compiler.
  2. ; A little awkward, because the root directory may be called either GNU:,
  3. ; ADE: or even GG:, depending on the compiler version.
  4.  
  5. Assign GNU: EXISTS
  6. If NOT WARN
  7.   Copy GNU_include GNU:include ALL
  8.   Quit 0
  9. EndIf
  10.  
  11. Assign ADE: EXISTS
  12. If NOT WARN
  13.   Copy GNU_include ADE:include ALL
  14.   Quit 0
  15. EndIf
  16.  
  17. Assign GG: EXISTS
  18. If NOT WARN
  19.   Copy GNU_include GG:include ALL
  20.   Quit 0
  21. EndIf
  22.  
  23. Echo "*NNo GNU root directory found. Nothing installed."
  24. Wait 3
  25.